package com.sumainfor.pc.epc.fallback;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.epc.feign.GmioFeign;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @Author Eddy·Chen
 * @Email 835033913@qq.com
 * @Create 2019-04-09 19:25
 */
@Component
public class GmioFeignFallback implements GmioFeign {
    @Override
    public JsonResult insertOutOrder(Map<String, Object> params) {
        return JsonResult.error("运营部服务器异常....");
    }

    @Override
    public JsonResult getTcmgioBillOne(Map<String,Object> params){
        return JsonResult.error("服务器异常...");
    }

    @Override
    public JsonResult getTcmgioBillTwo(Map<String,Object> params){
        return JsonResult.error("服务器异常...");
    }

    @Override
    public JsonResult getRepairBillMap(Map<String, Object> params) {
        return JsonResult.error("运营部服务器异常....");
    }

    @Override
    public JsonResult getRepairBillMapOne(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙...");
    }
}

